<template>
    <div class="personal">
        <div class="banner">
            <div class="title">
                <span>个人中心</span>
            </div>
            <div class="avtar">
                <img src="@/assets/images/personal/tx.png" alt="" />
                <span>张先生</span>
            </div>
            <div class="rz">
                <img src="@/assets/images/personal/rz.png" alt="" />
                <span>已认证</span>
            </div>
        </div>
        <div class="wylj">
            <div>
                <p>10</p>
                <span>我要了解</span>
            </div>
            <div>
                <p>10</p>
                <span>我的收藏</span>
            </div>
            <div>
                <p>10</p>
                <span>我的浏览</span>
            </div>
        </div>
        <div class="list">
            <ul>
                <li>
                    <div class="left">
                        <img src="@/assets/images/personal/person.png" alt="" />
                        <span>用户姓名</span>
                    </div>
                    <div class="right user">张**</div>
                </li>
                <li>
                    <div class="left">
                        <img src="@/assets/images/personal/phone.png" alt="" />
                        <span>手机号码</span>
                    </div>
                    <div class="right phone">133****3232</div>
                </li>
                <li>
                    <div class="left">
                        <img src="@/assets/images/personal/zhuti.png" alt="" />
                        <span>主体类型</span>
                    </div>
                    <div class="right">
                        农业生产
                        <img
                            src="@/assets/images/personal/right_arrow.png"
                            alt=""
                        />
                    </div>
                </li>
                <li>
                    <div class="left">
                        <img src="@/assets/images/personal/cun.png" alt="" />
                        <span>所属村组</span>
                    </div>
                    <div class="right">
                        XX村
                        <img
                            src="@/assets/images/personal/right_arrow.png"
                            alt=""
                        />
                    </div>
                </li>
                <li>
                    <div class="left">
                        <img src="@/assets/images/personal/dizhi.png" alt="" />
                        <span>详细地址</span>
                    </div>
                    <div class="right">XX村XX号</div>
                </li>
            </ul>
        </div>
        <tabbar :active="1" />
    </div>
</template>

<script>
import tabbar from "@/components/wd-tabbar.vue";
import ecenter from "../../../lib/node_modules/ecenter-core";
export default {
    name: "personal",
    components: {
        tabbar,
    },
    setup() {
        return {};
    },
};
</script>

<style lang="less" scoped>
.personal {
    padding-bottom: 50px;
    height: 100%;
    .banner {
        height: 188px;
        width: 375px;
        padding: 0 16px;
        box-sizing: border-box;
        background: url("../../assets/images/personal/top_bg.png") no-repeat;
        background-size: 375px 188px;
        .title {
            font-size: 18px;
            font-family: "SourceHanSansCN-Regular";
            color: #ffffff;
            text-align: center;
            padding-top: 16px;
        }
        .avtar {
            padding-top: 30px;
            display: flex;
            align-items: center;
            span {
                font-family: "SourceHanSansCN-Bold";
                font-size: 21px;
                font-weight: 550;
                color: #ffffff;
            }
            img {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                margin-right: 20px;
            }
        }
        .rz {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            img {
                width: 14px;
                height: 14px;
                margin-right: 5px;
            }
            span {
                font-family: "PingFang-SC-Medium";
                font-size: 14px;
                color: #ffffff;
            }
        }
    }
    .wylj {
        width: 343px;
        height: 80px;
        background-color: #ffffff;
        box-shadow: 0px 2px 5px 0px rgba(34, 153, 255, 0.16);
        border-radius: 4px;
        margin: 0 auto;
        margin-top: -35px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 25px;
        box-sizing: border-box;
        div {
            text-align: center;
            width: 80px;
            p {
                font-family: "Arial-BoldMT";
                font-size: 24px;
                color: #428ffc;
                font-weight: 550;
                margin: 0;
                margin-bottom: 12px;
            }
            span {
                font-size: 14px;
                font-family: "PingFang-SC-Medium";
                color: #363a44;
            }
        }
    }
    .list {
        margin-top: 25px;
        ul {
            li {
                width: 100%;
                height: 45px;
                background-color: #ffffff;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 16px;
                box-sizing: border-box;
                margin-bottom: 8px;
                font-family: "SourceHanSansCN-Regular";
                .left {
                    font-size: 16px;
                    display: flex;
                    align-items: center;
                    img {
                        margin-right: 5px;
                        width: 16px;
                    }
                }
                .right {
                    font-size: 16px;
                    color: #363a44;
                    display: flex;
                    align-items: center;
                    img {
                        width: 7px;
                        height: 12px;
                        margin-left: 8px;
                        margin-top: 2px;
                    }
                }
                .user,
                .phone {
                    color: #b9bcbf;
                }
            }
        }
    }
}
</style>
